home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.internetmci.com!iol!usenet
- From: David Byrden <goyra@iol.ie>
- Newsgroups: comp.lang.c++
- Subject: Re: 'delete' dos not work !!!! (for me...)
- Date: 19 Mar 1996 08:37:39 GMT
- Organization: Ireland On-Line
- Message-ID: <4ilroj$i7n@nuacht.iol.ie>
- References: <ROLLET.96Mar18215549@oriole.DMI.USherb.CA>
- NNTP-Posting-Host: dialup-277.dublin.iol.ie
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22KIT (Windows; I; 16bit)
-
-
- >> In that piece of code... delete never free the variable donnee (or don
- >> in the second function)...
-
-
- If you use new[] to allocate an array of objcts, you must use delete[]
- to free it, despite the fact that the resulting pointers have the same
- type.
-
-
-
- David
-
-
-